package com.luxoft.scoremanager.server.dao;


import com.luxoft.scoremanager.server.model.dao.ComponentDaoModel;

import java.util.List;

public interface ComponentDao {
    public void addComponent(ComponentDaoModel component);
    public void updateComponent(ComponentDaoModel component);
    public void deleteComponent(ComponentDaoModel component);

    public List<ComponentDaoModel> getAll();

    public ComponentDaoModel getById(int id);
}
